package org.one.afternoon.service;


import org.one.afternoon.domain.Activity;
import org.one.afternoon.domain.Blog;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ActivityService {

    List<Activity> findAll();

    List<Activity> queryOne(Activity activity);

    boolean insert(Activity activity);

    boolean deleteById(Integer index);

    boolean update(Activity activity);
}
